package com.songyang.yougnsql.core.data.recover;

/**
 * @ClassName UpdateLogInfo
 * @Description
 * @date 2022/12/12 11:26
 * @Author yanceysong
 * @Version 1.0
 */
public class UpdateLogInfo {
    private long xid;
    private int pageNumber;
    private short offset;
    private byte[] oldRaw;
    private byte[] newRaw;

    public long getXid() {
        return xid;
    }

    public void setXid(long xid) {
        this.xid = xid;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public short getOffset() {
        return offset;
    }

    public void setOffset(short offset) {
        this.offset = offset;
    }

    public byte[] getOldRaw() {
        return oldRaw;
    }

    public void setOldRaw(byte[] oldRaw) {
        this.oldRaw = oldRaw;
    }

    public byte[] getNewRaw() {
        return newRaw;
    }

    public void setNewRaw(byte[] newRaw) {
        this.newRaw = newRaw;
    }
}
